import * as $echarts from "echarts";
import type { App } from "vue";
import VueEcharts from "vue-echarts";

// 插件的定义
const vueEcharts = (app: App) => {
  // 全局组件的定义
  app.component("v-chart", VueEcharts);
};

export { $echarts, vueEcharts };
